Relational Division: Four Algorithms and Their Performance

نویسنده

  • Goetz Graefe
چکیده

We outline three known algorithms for relational division, the algebra operator used to express universal quantification (for-all conditions), and a new algorithm called Hash-Division. By comparing the algorithms analytically and experimentally, we show that the new algorithm provides performance competitive or superior to techniques used to-date, namely techniques using sorting or aggregate functions. Furthermore, the new algorithm can eliminate duplicates in the divisor on the fly, ignores duplicates in the divided, and allows two kinds of partioning, either of which can be used to resolve hash table overflow or to efficiently implement the algorithm on a multi-processor system. Relational Division: Four Algorithms and Their Performance Goetz Graefe Oregon Graduate Center Abstract We outline three known algorithms for relational division, the algebra operator used t o express universal quantification (for-all conditions), and a new algorithm called Hash-Division. By comparing the algorithms analytically and experimentally, we show tha t the new algorithm provides performance competitive or superior t o techniques used to-date, namely techniques using sorting or aggregate functions. Furthermore, the new algorithm can eliminate duplicates in the divisor on the fly, ignores duplicates in the dividend, and allows two kinds of partitioning, either of which can be used t o resolve hash table overflow or t o efficiently implement the algorithm on a multi-processor system.We outline three known algorithms for relational division, the algebra operator used t o express universal quantification (for-all conditions), and a new algorithm called Hash-Division. By comparing the algorithms analytically and experimentally, we show tha t the new algorithm provides performance competitive or superior t o techniques used to-date, namely techniques using sorting or aggregate functions. Furthermore, the new algorithm can eliminate duplicates in the divisor on the fly, ignores duplicates in the dividend, and allows two kinds of partitioning, either of which can be used t o resolve hash table overflow or t o efficiently implement the algorithm on a multi-processor system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Query processing concepts and techniques for set containment tests

Relational division is an operator of the relational algebra that realizes universal quantifications in queries against a relational database. Expressing a universal quantification problem in SQL is cumbersome. If the division operator would have a counterpart in a query language, a more intuitive formulation of universal quantification problems would be possible. Although division is a derived...

متن کامل

Max-Min averaging operator: fuzzy inequality systems and resolution

 Minimum and maximum operators are two well-known t-norm and s-norm used frequently in fuzzy systems. In this paper, two different types of fuzzy inequalities are simultaneously studied where the convex combination of minimum and maximum operators is applied as the fuzzy relational composition. Some basic properties and theoretical aspects of the problem are derived and four necessary and suffi...

متن کامل

Linear optimization on Hamacher-fuzzy relational inequalities

In this paper, optimization of a linear objective function with fuzzy relational inequality constraints is investigated where the feasible region is formed as the intersection of two inequality fuzzy systems and Hamacher family of t-norms is considered as fuzzy composition. Hamacher family of t-norms is a parametric family of continuous strict t-norms, whose members are decreasing functions of ...

متن کامل

Optimizing Queries with Universal Quantification in Object-Oriented and Object-Relational Databases

We investigate the optimization and evaluation of queries with universal quantification in the context of the object-oriented and object-relational data models. The queries are classified into 16 categories depending on the variables referenced in the so-called range and quantifier predicates. For the three most important classes we enumerate the known query evaluation plans and devise some new...

متن کامل

inObject - Oriented and Object - Relational Databases

We investigate the optimization and evaluation of queries with universal quan-tiication in the context of the object-oriented and object-relational data models. The queries are classiied into 16 categories depending on the variables referenced in the so-called range and quantiier predicates. For the three most important classes we enumerate the known query evaluation plans and devise some new o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1989